package com.bosch.in.rtp1.ept.model.technical;

import java.util.ArrayList;
import java.util.List;

import com.bosch.in.rtp1.ept.constant.CommonConstants;

public class Condition4RelHldDiagram {
	/**
	 * Normal conditions
	 */
	private int chartType;
	private int year;
	/**
	 * Parameter values, the number of values must be equal with 
	 * the number of place holder in search condition
	 */
	private List<Object> parameterValues;
	
	public Condition4RelHldDiagram()
	{
		this.chartType = 0;
		this.year = CommonConstants.CURRENT_YEAR;
	}
	public int getChartType() {
		return chartType;
	}
	public void setChartType(int chartType) {
		this.chartType = chartType;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public void setParameterValues(List<Object> parameterValues) {
		this.parameterValues = parameterValues;
	}
	public List<Object> getParameterValues() {
		return parameterValues;
	}
	public void builParameterValuesList()
	{
		this.parameterValues = new ArrayList<Object>();
		this.parameterValues.add(this.year);
		this.parameterValues.add(this.chartType);
	}

}
